package org.wisdom.mq.kafka.service;

import org.springframework.stereotype.Service;

import lombok.RequiredArgsConstructor;
import lombok.extern.slf4j.Slf4j;

/**
 * 生产日志服务
 *
 * @author 张智研
 * @date 2023/12/01 15:22
 **/

@Slf4j
@Service
@RequiredArgsConstructor
public class FlumeLogServer {
    private static long n = 0L;

//    @Scheduled(fixedDelay = 5000)
    public void run() {
        log.info("输出日志：" + n++);
    }
}
